package com.android.waterdetection.bean;

/**
 * 创建设备命令实体类
 */
public class CommonBean {

    private String commandId;
    private String appId;
    private String deviceId;
    private CommandBean command;
    private String callbackUrl;
    private Object expireTime;
    private String status;
    private String creationTime;
    private Object executeTime;
    private Object platformIssuedTime;
    private Object deliveredTime;
    private Object issuedTimes;
    private String maxRetransmit;

    public static class CommandBean {
        private String serviceId;
        private String method;
        private ParasBean paras;

        public static class ParasBean {
            private String paraName1;
            private String paraName2;
        }
    }

    @Override
    public String toString() {
        return "CommonBean{" +
                "commandId='" + commandId + '\'' +
                ", appId='" + appId + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", command=" + command +
                ", callbackUrl='" + callbackUrl + '\'' +
                ", expireTime=" + expireTime +
                ", status='" + status + '\'' +
                ", creationTime='" + creationTime + '\'' +
                ", executeTime=" + executeTime +
                ", platformIssuedTime=" + platformIssuedTime +
                ", deliveredTime=" + deliveredTime +
                ", issuedTimes=" + issuedTimes +
                ", maxRetransmit='" + maxRetransmit + '\'' +
                '}';
    }
}
